package com.guanzi.big_data_mq_process.model;

import com.guanzi.big_data_mq_process.model.entity.OrderDetails;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderCreateContext {

    private String messageId;
    private Long orderId;
    private Integer userId;
    private BigDecimal totalAmount;
    private List<OrderDetails> details;

}
